package com.web.dao;

import com.entity.Festival;
import com.page.PageInfo;

import java.util.List;

public interface FestivalDao {
    public List<Festival> getAll() throws Exception;
    public  Festival selectByPrimaryKey(int fid) throws Exception;
    public  Festival selectByPrimaryKeyWithActivitytype(int fid) throws Exception;
    public List<Festival> getFestivalsByPage(PageInfo pageInfo) throws Exception ;
    public int add(Festival festival) throws Exception;
    public int update(Festival festival) throws Exception;
}